docs/misra: add Rule 5.1
authorStefano Stabellini <stefano.stabellini@xilinx.com>
Wed, 1 Jun 2022 01:44:02 +0000 (18:44 -0700)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Wed, 8 Jun 2022 00:44:03 +0000 (17:44 -0700)
commit8c1cc69748f4719e6ba8a275c2ecd60747c52c21
tree296ad6ceeb09e7a5039b1b2bd16957f6d748081a
parent4b08435f586e3f605fdc13f7cb38484f37ad42e9
docs/misra: add Rule 5.1

Add Rule 5.1, with the additional note that the character limit for Xen
is 40 characters.

The max length identifiers found by ECLAIR are:

__mitigate_spectre_bhb_clear_insn_start
domain_pause_by_systemcontroller_nosync

Both of them are 40 characters long.

Explicitly mention that public headers might have longer identifiers.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Acked-by: Julien Grall <jgrall@amazon.com>
docs/misra/rules.rst